package objects.predictors;
import java.util.Date;

import objects.ObjectCodes;


import com.google.gson.Gson;


public class Co2Info implements ObjectCodes{
	public double avg;
	public double std_dev;
	public double pearsons;
	public Date date;
	public int cluster;
	public String jobId;
	
	public Co2Info(double a,double s, Date d, double p)
	{
		this.avg =a;
		this.std_dev = s;
		this.date = d;
		this.pearsons = p;
	}
	
	public void setCluster(int c){ this.cluster = c;}
	
	public String toString()
	{
		return CO2_INFO +"|"+ new Gson().toJson(this);
	}
	
}
